#include "./def.h"

/*
PACKET MSG FORMAT
{
    BYTE SVC_CODE;
    MSG MESSAGE;
}
*/

typedef struct {
    BYTE uid[UID_LEN];					//char[]
    BYTE passwd[PASSWD_LEN];			//char[]
} REQ_LOGIN;
/*

typedef struct {
	BYTE ret;           				//byte
	short vnc_port;
} RES_LOGIN;

 *  ret 1 : success;
 *  ret -1 : server error;
 *  ret -2 : unregister uid;
 *  ret -3 : password falure;
*/


typedef struct {
    BYTE uid[UID_LEN];					//char[]
} REQ_LOGOUT;
/*

typedef struct {						//byte
    BYTE ret;
} RES_LOGOUT;

 *  ret 1 : success;
 *  ret -1 : server error;
 *  ret -2 : unregister uid;
 *  ret -3 :
*/
